package cn.wrl.order.fallback.itemservice;

import cn.wrl.item.service.ItemCommentsService;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * 在spring上下文中加载了两个访问路径一样的方法，会报"Ambiguous mapping."
 */
//@FeignClient(value = "foodie-item-service", fallback = ItemCommonFallback.class)
@FeignClient(value = "foodie-item-service", fallbackFactory = ItemCommonFallbackFactory.class)
public interface ItemCommonFeignClient extends ItemCommentsService {


}
